package ysu.sxm.ptjc.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;
import ysu.sxm.ptjc.pojo.SignInfo;

import java.sql.Timestamp;

@Repository
@Mapper
public interface SignMapper extends BaseMapper<SignInfo>{
    SignInfo findOneByUserIdAndSignBeginTime(Integer userid,Timestamp begintime);
    boolean saveSign(SignInfo signInfo);
}
